﻿<div id="pui_util_overlay">
	
</div>
<script>
(function(){
	var dr=new Mui.util.DocsRender({
		renderTo:'pui_util_overlay',
		data:{
			title:'Mui.util.Overlay',
			superclass:'Mui.util.UI',
			desc:'该组件继承自Pui.util.UI，提供一个可以遮罩层，遮住需要遮住的元素',
			private:[{
				name:'__eventBus',
				desc:'对象的事件容器',
				type:'object',
				def:'{}'
			},{
				name:'__type',
				desc:'类型，用于对类进行描述',
				type:'string',
				def:'Viewer'
			},{
				name:'__constructor',
				desc:'构造函数',
				type:'string',
				def:'Mui.util.Viewer'
			}],
			public:[{
				name:'opacity',
				desc:'透明度，小于或等于1的正数',
				type:'number',
				def:'0.5'
			},{
				name:'bgColor',
				desc:'RGB表示的背景色',
				type:'string',
				def:'#ddd'
			},{
				name:'width',
				desc:'宽度',
				type:'number',
				def:'0'
			},{
				name:'height',
				desc:'高度',
				type:'number',
				def:'0'
			},{
				name:'zIndex',
				desc:'z轴的值',
				type:'number',
				def:'3000'
			},{
				name:'renderTo',
				desc:'渲染的父容器的ID，当该属ing性为空时，渲染到document.body，并遮住整个的浏览器窗体',
				type:'string',
				def:''
			}],
			fn:[
			{
				name:'getEl()',
				desc:'获取遮罩层的Dom元素'
			},
			{
				name:'getContainer()',
				desc:'获取遮罩层渲染的目标元素'
			},
			{
				name:'getSize()',
				desc:'获取大小'
			},
			{
				name:'getElId()',
				desc:'获取dom元素的id'
			}, 
			{
				name:'render()',
				desc:'重写父类的渲染方法，执行遮罩层的渲染'
			},
			{
				name:'show()',
				desc:'显示遮罩层'
			},
			{
				name:'hide()',
				desc:'隐藏遮罩层'
			},
			{
				name:'initComponent()',
				desc:'重写父类的initComponent方法'
			}
			]
		}
	});
})();
</script>